package diamondServer.resources;

import java.util.Map;


public class MessageFake
	implements Message
{
	private String msResourceName = "ResourceFake";
	private String body;
	
	public MessageFake(){/*empty*/}
	
	public String getBody()	{
		return body;
	}

	@Override
	public void fill(Map<String, String> params){
		body = params.get("body");
	}

	@Override
	public String getResourceName()	{
		return msResourceName;
	}
	@Override
	public void setResourceName(String sResourceName) {
		msResourceName = sResourceName;
	}
	
	@Override
	public Message clone() throws CloneNotSupportedException {
		return (Message)super.clone();
	}
}
